.triangle-icons {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.triangle-icon {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
}

.triangle-icon-down {
  border-top: 4px solid #666666;
}

.triangle-icon-down.active {
  border-top-color: #FFB73F;
}

.triangle-icon-up {
  border-bottom: 4px solid #666666;
}

.triangle-icon-up.active {
  border-bottom-color: #FFB73F;
}
.temperature-box {
  background-color: #C39646;
  border-radius: 16rpx 16rpx 16rpx 16rpx;
  color: #FFFFFF; 	 	 	 	 	 	/* 白色文字 */
  font-size: 20rpx; 	 	 	 	 	/* 文字大小 */
  margin-top: 8rpx;
  height: 28rpx;
  text-align: center;
  padding: 5rpx;
  line-height: 28rpx;
  }

.flex-box {
  height: 70rpx;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.text-back {
  flex-grow: 1;
  flex-basis: 1;
}

.active {
  color: #FFB73F;
  font-weight: bold;
}


.modal{
  display: flex;
  align-items: center;
  justify-content: center;
}

.textMuch{
  display: flex;
  justify-content: center;
  align-items: center;
}

.textBack{
  font-size: 28rpx;
  text-align: center;
}

.price-icon {
  display: flex;
  align-items: center;
  width: 70rpx;
  height: 32rpx;
  background: #EBEBEB;
  border-radius: 8rpx;
  text-align: left; 
}

.price-symbol {
  margin-left: 5rpx;
  width: 12rpx;
  height: 28rpx;
  font-family: '.PingFang SC, PingFang SC';
  font-weight: 300;
  font-size: 12rpx;
  color: #666666;
  text-align: center;
  font-style: normal;
  text-transform: none;
}

/*********抽屉样式    *******/
.drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* 半透明背景 */
  display: flex;
  justify-content: flex-end;
  z-index: 999;
}

.drawerContent{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%; /* 如果需要铺满整个高度，请确保父级元素也设置了合适的高度 */
  padding-top: 140rpx;background: #fff;
  /* border-radius: 16rpx 0rpx 0rpx 16rpx; */
  width: 512rpx;
  transform: translateX(100%); 
}

.drawerName{
  display: flex;
  justify-content: space-between;
  margin: 16rpx;
  text-align: left;
  /* width: 158rpx; */
  height: 80rpx;
  font-family: '.PingFang SC-Regular', Arial,
  sans-serif;
  font-size: 28rpx;
  color: #000000;
  font-style: normal;
  text-transform: none;
}

.drawerName_title{
  display: flex;
  align-items: center;
}

.drawerName_icon{
  font-size: 24rpx;
    color: #000000;
    padding: 26rpx;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
}

.drawerMoney{
   padding: 16rpx; 
   display: flex; 
   flex-wrap: wrap; 
   justify-content: space-between;
   align-items: center;
}

.drawerMoney_interval{
  background: #EBEBEB;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 36rpx; 
  width: 224rpx; 
  height: 72rpx; 
  
}

.input-container{

  position: relative;
        width: 130rpx; /* 输入框宽度 */
        /* border: 1px solid #ccc; */
}

 /* 输入框 */
 .input-container input {
  width: 100%;
  height: 100%;
  font-size: 28px;
  text-align: center;
  border: none;
  outline: none;
}

/* 用于水平居中的伪元素 */
.input-container::before {
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

/* 用于垂直居中的伪元素 */
.input-container input::before {
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}


/*** 已售空***/
.class-goods-img {
	position: absolute;
    top: 15rpx;
    left: 15rpx;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 28rpx;
    width: 140rpx;
    height: 140rpx;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center
}
/**** 标签 *****/


.tags-container {
  display: flex;
  align-items: center;
  /* margin-left: 6rpx; */
  /* width: 97%; */
  overflow: hidden;
  position: relative;
  padding-right: 25px; /* 给省略号留出更多空间 */
  /* height: 90rpx; */
}

.tag_label {
  padding: 10rpx 10rpx;
  position: relative;
  color: #9e9e9e;
  font-size: 11px;
  white-space: nowrap;
  flex-shrink: 0; /* 防止标签被压缩 */
}

.tag_label:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 40%;
  border-right: 1px solid #9e9e9e;
}

.tags-container::after {
  /* content: '...'; */
  position: absolute;
  right: 0px; /* 确保省略号在容器外部可见 */
  top: 50%;
  transform: translateY(-50%);
  color: #9e9e9e;
  background-color: white;
  padding-right:  16rpx; 
  padding-left: 8rpx;
}

/* 隐藏第四个及之后的所有标签 */
.tag_label:nth-child(n+4) {
  display: none;
}

.tag-container {
  /* margin-left: 16rpx; */
  display: flex;
  flex-wrap: wrap;
  /* 如果标签过多，自动换行 */
}

.sku_tags {
  
  display: flex;
  flex-wrap: wrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.sku_tag {
  color: #9e9e9e;
  border-radius: 3px;
  font-size: 12px;
  margin-right: 5px;
  margin-bottom: 5px;
}

/*******进度条********/
.preferentialCalss{
  display: flex;
  justify-content: center;
  align-items: center;
  /* width: 88rpx; */
  height: 28rpx;
  border: 0.5rpx solid #FF3A3A;
  border-radius: 8rpx;
}


.progress-tab {
  /* margin-top: 16rpx; */
  display: flex;
  align-items: center;  
  position: relative; /*增加定位属性*/
  
}

.progress-bar {
  border: 1rpx solid #FF8A3A;
  width: 150rpx;
  height: 26rpx;
  /* background: #f0f0f0; */
  border-radius: 16rpx;
  overflow: hidden;
}



.progress-bar-inner::after {
  content: '';
  position: absolute;
  height: 100%;
  width: 100%;
  background: #FF8A3A;
  opacity: 0.16;
  transition: width 0.3s ease-in-out;
  border-radius: 16rpx 16rpx 16rpx 16rpx;
}

.progress-bar-inner {
  position:relative;
  height: 100%;
}

.progress-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color:#FF8A3A;
  font-size: 18rpx;
  width: 100%;
  text-align: center;
} 

/* 这里写三级分类 右边的框 */
.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* display: flex; */
  /* flex-wrap: wrap; */
  /* justify-content: space-between; */
  padding: 16px;
}

.grid-item {
  /* 每行显示3个元素，宽度为30%（带间隙） */
  margin-bottom: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.grid-item image {
  width: 56px;
  height: 56px;
}

.grid-item text {
  display: block;
  font-size: 14px;
  color: #333;
}

.grid-item:hover {
  /* hover 时放大 */
  /* transform: scale(1.05);  */
  /* background-color: #f0f0f0; */
}
.grid-item.active {
  transform: scale(1.1); /* 点击时缩放效果 */
  /* background-color: #e0e0e0; */
  /* border-radius: 100%; */
}
.animated-view {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease, transform 1s ease;
}

.animated-view.show {
  opacity: 1;
  transform: translateY(0);
}

.three-button {
  height: 50rpx;
 padding: 0 12rpx;
 border-radius: 10rpx;
 display: inline-flex;
 vertical-align: top;
 font-size: 26rpx;
 line-height: 46rpx;
 color: #333333;
 /* background-color: #f8f8f8; */
 margin-right: 12rpx;
 box-sizing: border-box;

}
